import request from '../utils/request';

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};

/* export const registerData = (registerForm) => {
    return request({
        url: '/login/signin',
        method: 'post',
        data: registerForm
    });
}; */

/* export const saveUser= (form) => {
  return request({
    url: "/user/save",
    method: 'post',
    data: form
  })
} */

/* export function saveUser (form) {
    return request({
        url: '/user/save',
        method: 'post',
        data: form
    });
}; */